package com.TestDemo.Test2;

public class IFTest {
    public static void main(String[] args) {


        int a = 8;
        int max = 1;
        max = max<a?a:max;
        System.out.println(a + " " + max);




        String ss = "";

        String GetString = ss!=null&&!"".equals(ss)?ss:"没值";
        System.out.println(GetString);



    }
}
